package com.ruoyi.driver.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.driver.domain.DvDriver;
import com.ruoyi.driver.mapper.DvDriverMapper;
import com.ruoyi.driver.service.IDvDriverService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-07-02
 */
@Service
public class DvDriverServiceImpl extends ServiceImpl<DvDriverMapper, DvDriver> implements IDvDriverService {

    @Autowired
    DvDriverMapper dvDriverMapper;

    @Override
    public Integer updateDriver(String username) {
        return dvDriverMapper.updateDriver(username);
    }

    @Override
    public Integer updateDriverByStatus(String username) {
        return dvDriverMapper.updateDriverByStatus(username);
    }
}
